<div class="material">
<div class="well testpaper-question-stem-material">{{ item.question.stem|fill_question_stem_html|bbCode2Html|raw }}</div>
{% for item in item.items|default([]) %}

	{% if ptype[item.questionType].name in ['single_choice', 'choice', 'uncertain_choice'] %}

		{% include 'TopxiaWebBundle:QuizQuestionTest:do-test-choice.html.twig' %}
	{% else %}
		{% include 'TopxiaWebBundle:QuizQuestionTest:do-test-' ~ ptype[item.questionType].ptype ~ '.html.twig' %}
	{% endif %}

	{# if ptype[item.questionType].name == 'determine' #}

		{# include 'TopxiaWebBundle:QuizQuestionTest:do-test-determine.html.twig' #}

	{# endif #}

	{# if ptype[item.questionType].name == 'fill' #}

		{# include 'TopxiaWebBundle:QuizQuestionTest:do-test-fill.html.twig' #}

	{# endif #}

	{# if ptype[item.questionType].name == 'essay' #}

		{# include 'TopxiaWebBundle:QuizQuestionTest:do-test-essay.html.twig' #}

	{# endif #}

{% endfor %}
</div>